class CreateEntities < ActiveRecord::Migration
  def self.up
    create_table :entities do |t|
      t.column :name, :string
      t.column :museum_identifier, :string
      t.column :acquired_year, :string
      t.column :museum_id, :integer
      t.column :country_id, :integer
      t.column :acquisition_method_id, :integer
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
    end
  end

  def self.down
    drop_table :entities
  end
end
